// components/img_text_panel_two.js
const app = getApp();
var router = require("../../router.js");
Component({
  /**
   * 组件的属性列表
   * 
   */
  properties: {
    linkUrl: String,
    itemdata:Object,
  },

  /**
   * 组件的初始数据
   */
  data: {

  },

  /**
   * 组件的方法列表
   */
  attached(){
    // console.log(this.data.itemdata)
  },
  methods: {
    to_detail(e) {
      
      // let id = e.currentTarget.dataset.index;
      console.log(this.linkUrl)
      debugger
      app.navTo(this.linkUrl)
    },
  }
})
